package com.scenic.rd_android.design_model.mvp.contact;

import com.scenic.rd_android.design_model.mvp.presenter.BasePresenter;
import com.scenic.rd_android.design_model.mvp.view.BaseView;

/**
 * Created by scenic on 16/8/20.
 */
public interface AddTaskContact {

    interface View extends BaseView<Presenter> {
        void setTitle(String title);
        void setContent(String content);
        boolean isActive();

        void showEmptyTaskError();
        void showEditTask(String id);

        void showTasksList();
    }

    interface Presenter extends BasePresenter {

        void saveTask(String title,String content);
    }

}
